﻿@{
    Layout = null;
}


<meta charset="UTF-8" />
<!--生成设备虚拟窗口便于开发-->
<meta name="viewport" content="width=device-width, initial-scale=1.0,  user-scalable=no" />
<!--解决浏览器兼容性-->
<meta http-equiv="x-ua-compatible" content="IE=edge,chrome=1" />
<meta name="renderer" content="webkit" />
<title style="text-align: center">领取结果</title>
<script src="~/Scripts/jquery-3.3.1.min.js"></script>
@*<script src="~/Scripts/jquery.js"></script>*@
<link href="~/Content/MarketCss/animate.min.css" rel="stylesheet" />

<style>
    * {
        padding: 0;
        margin: 0;
        font-family: 微软雅黑;
    }

    .bg-con {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background-color: rgba(27, 1, 0, 0.8);
        display: none;
        overflow: hidden;
    }

    .result {
        position: absolute;
        width: 90%;
        height: 100%;
        left: 0;
        top: 0;
        background: url("/Content/webImgs/Market/redPacket/redPacket-03.jpg");
        background-size: 100% 100%;
        padding: 0 5%;
        /*box-sizing:*/
    }

        .result > img {
            display: block;
            margin: 20px auto;
            width: 105px;
            height: 105px;
        }

        .result > p {
            font-size: 28px;
            color: whitesmoke;
            margin-top: 20px;
            text-align: center;
        }

            .result > p:nth-child(3) {
                font-size: 18px;
                margin-top: 16px;
            }

        .result > .closeBtn {
            background-color: #FFCC00;
            text-align: center;
            height: 40px;
            color: #763401;
            line-height: 40px;
            font-size: 23px;
            border-radius: 5px;
            margin: 20px auto;
            padding: 5px 0;
        }

        .result > .Bottom {
            position: absolute;
            bottom: 20px;
            left: 0;
            right: 0;
            margin: 0 auto;
            text-align: center;
        }

            .result > .Bottom > a.a {
                text-decoration: none;
                display: inline-block;
                background-color: #FFCC00;
                height: 25px;
                color: #763401;
                line-height: 25px;
                border-radius: 5px;
                padding: 5px 15px;
            }

        .result .bg-con > div:nth-child(1) {
            width: 100%;
            height: 84%;
            background: url("/Content/webImgs/Market/redPacket/redPacket-05.png");
            background-size: 100% 100%;
            display: none;
        }

        .result .bg-con > div:nth-child(2) {
            width: 100%;
            height: 10%;
            text-align: center;
            display: none;
        }

            .result .bg-con > div:nth-child(2) img {
                /*margin-top: -5px;*/
                width: 55px;
                height: 55px;
            }

        .result .bg-con div.info {
            width: 100%;
            height: 80%;
            position: absolute;
            top: 19%;
        }

            .result .bg-con div.info > h2 {
                text-align: center;
                color: #F3C99B;
                margin-top: 10px;
            }

            .result .bg-con div.info > .details-info {
                display: flex;
                align-items: center;
                justify-content: space-around;
                margin-top: 10px;
            }

                .result .bg-con div.info > .details-info > div:nth-child(1) > p:nth-child(1) {
                    color: #F3C99B;
                    margin-bottom: 7px;
                }

                .result .bg-con div.info > .details-info > div:nth-child(1) > p:nth-child(2) {
                    font-size: 12px;
                    color: #F3C99B;
                }

                .result .bg-con div.info > .details-info > div:nth-child(2) {
                    background-color: #E5E5E5;
                    border-radius: 5px;
                    text-align: center;
                    color: grey;
                    padding: 7px 25px;
                }
</style>
<div class="result">
    <img src="~/Content/webImgs/Market/redPacket/redPacket-04B.png" alt="">
    <p>红包领取成功</p>
    <p>已存入微信零钱</p>
    <div class="closeBtn">
        点击关闭
    </div>
    <div class="Bottom">
        <a href="" class="a">活动说明</a>
        <a href="javascript:void (0)" class="a" style="margin-left: 10px">中奖纪录</a>
    </div>
    <div class="bg-con">
        <div>
            <div class="info">
                <h2>中奖纪录</h2>
                <div class="details-info">
                    <div>
                        <p>获得1元微信现金红包</p>
                        <p>2017-12-13 05：23：33</p>
                    </div>
                    <!--<span style="flex: 1;"></span>-->
                    <div>
                        已提现
                    </div>
                </div>
            </div>

        </div>
        <div>
            <img src="~/Content/webImgs/Market/redPacket/redPacket-051.png" alt="">
        </div>

    </div>

</div>
<script>
    $(function () {
        $('.result > .Bottom > a:nth-child(2)').click(function () {
            $(this).parent().next('.bg-con').slideDown(function () {
                $(this).children('div:nth-child(1)').css('display', 'block').addClass('animated bounceIn');
                $(this).children('div:nth-child(2)').css('display', 'block').addClass('animated bounceInUp').click(function () {
                    $(this).hide().removeClass('bounceInUp');
                    $(this).parent().hide();
                    $(this).prev().hide().removeClass('bounceIn');

                });
            });
        })

    });
</script>

